package com.ruoyi.eqmonitor.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 区域设置对象 opt_area_setting
 * @author ruoyi
 * @date 2022-12-05
 */
public class OptAreaSetting extends BaseEntity{

    private static final long serialVersionUID = 1L;

    /** Id */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 编码 */
    @Excel(name = "编码")
    private String code;

    /** 巡养单位Id */
    @Excel(name = "巡养单位Id")
    private Long organizationId;

    /** 巡养单位名称 */
    @Excel(name = "巡养单位名称")
    private String organizationName;

    /** 父级Id */
    @Excel(name = "父级Id")
    private Long parentId;

    /** 父级名称 */
    @Excel(name = "父级名称")
    private String parentName;

    /** 区域类型Id */
    @Excel(name = "区域类型Id")
    private Long regionTypeId;

    /** 区域类型名称 */
    @Excel(name = "区域类型名称")
    private String regionTypeName;

    /** 排序号 */
    @Excel(name = "排序号")
    private Long sortId;

    /** 空间边界 */
    @Excel(name = "空间边界")
    private String geomWkt;

    /** 是否激活 */
    @Excel(name = "是否激活")
    private Long isActive;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setOrganizationId(Long organizationId) 
    {
        this.organizationId = organizationId;
    }

    public Long getOrganizationId() 
    {
        return organizationId;
    }
    public void setOrganizationName(String organizationName) 
    {
        this.organizationName = organizationName;
    }

    public String getOrganizationName() 
    {
        return organizationName;
    }
    public void setParentId(Long parentId) 
    {
        this.parentId = parentId;
    }

    public Long getParentId() 
    {
        return parentId;
    }
    public void setParentName(String parentName) 
    {
        this.parentName = parentName;
    }

    public String getParentName() 
    {
        return parentName;
    }
    public void setRegionTypeId(Long regionTypeId) 
    {
        this.regionTypeId = regionTypeId;
    }

    public Long getRegionTypeId() 
    {
        return regionTypeId;
    }
    public void setRegionTypeName(String regionTypeName) 
    {
        this.regionTypeName = regionTypeName;
    }

    public String getRegionTypeName() 
    {
        return regionTypeName;
    }
    public void setSortId(Long sortId) 
    {
        this.sortId = sortId;
    }

    public Long getSortId() 
    {
        return sortId;
    }
    public void setGeomWkt(String geomWkt) 
    {
        this.geomWkt = geomWkt;
    }

    public String getGeomWkt() 
    {
        return geomWkt;
    }
    public void setIsActive(Long isActive) 
    {
        this.isActive = isActive;
    }

    public Long getIsActive() 
    {
        return isActive;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("code", getCode())
            .append("organizationId", getOrganizationId())
            .append("organizationName", getOrganizationName())
            .append("parentId", getParentId())
            .append("parentName", getParentName())
            .append("regionTypeId", getRegionTypeId())
            .append("regionTypeName", getRegionTypeName())
            .append("sortId", getSortId())
            .append("geomWkt", getGeomWkt())
            .append("isActive", getIsActive())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}